﻿using MediatR;
using RBAC_Class.Domain;
using RBAC_Class.ErrorCode;

namespace RBAC_Class.Read.API.Application.Command.Permissions
{
    public class PermissionQueryCommand:IRequest<APIResult<APIPaging<List<Permission>>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string? PermissionName { get; set; } = null;
    }
}
